package com.yykj.user.center.server.form;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalDate2LongSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/10/20 22:46
 */
@Data
public class RelaceAvatarForm {

	@NotBlank(message = "请传入ID")
	private String id;

	@NotBlank(message = "请传入头像")
	@ApiModelProperty("头像")
	private String avatar = "";
}
